import React from "react";
import { Outlet, Link, NavLink } from "react-router-dom";
import "./index.css";

export default function Home() {
  return (
    <>
      <Outlet></Outlet>
      <div className="nav">
        <NavLink to="/home">首页</NavLink>
        <NavLink to="cate">分类</NavLink>
        <NavLink to="shopping">购物车</NavLink>
        <NavLink to="login">登录</NavLink>
      </div>
    </>
  );
}
